#ifndef HTTP_CLIENT_CONNECTION_MGR_H
#define HTTP_CLIENT_CONNECTION_MGR_H

#include <set>
#include <boost\noncopyable.hpp>
#include "connection.h"

namespace jump
{
	namespace client{


		class Connection_Manage
			:private boost::noncopyable
		{

		public:
			void start(connection_ptr arg_c);

			void stop(connection_ptr arg_c);

			void stop_all();

		private:

			std::set<connection_ptr> connections_;
		};

	}//namespace client
}//namespace jump

#endif